package com.wp.admin.service;

import com.wp.admin.pojo.SysMenu;

import java.util.List;

/**
 * @author wp
 * @create 2019-03-03 15:47
 */
public interface SysMenuService {
    List<SysMenu> findByUserName(String userName);

    /**
     * 根据用户名和菜单类别查询菜单树
     * @param userName
     * @param menuType
     * @return
     */
    List<SysMenu> findTree(String userName, Integer menuType);
}
